package cn.javase.base.comclasses._01_字符串;

import java.io.UnsupportedEncodingException;

public class _02_字符串的构造 {
    public static void main(String[] args) throws UnsupportedEncodingException {
        byte[] bytes = "边城仔".getBytes("UTF-8");
        String str = new String(bytes, "GBK");
        System.out.println(str);
    }
}
